package com.higold.cloud.mvp.contract

import com.higold.cloud.base.IBaseView
import com.higold.cloud.base.IPresenter
import com.higold.cloud.mvp.model.bean.shopDeatail.ShopDetail

/**
 *    author : lxz
 *    date   : 2019/10/12 14:53
 *    desc   :
 */

interface ShopDetailContract {

    interface View : IBaseView {
        /**
         * 设置 ShopDetail
         */
        fun setShopDetail(shopDetail: ShopDetail)

        fun showError(errorMsg: String, errorCode: Int)
    }


    interface Presenter : IPresenter<View> {
        /**
         * 获取 ShopDetail
         */
        fun getShopDetail(shopId : Int)
    }
}